#!python
#
# Pyste file for osg::Matrix

TransformationMatrix = Template('osg::TransformationMatrix',
                                'OpenSG/OSGMatrix.h')

#types = { 32 : '', 64 : '4d' }
types = { 32 : ('','float'),  }

for size, type in types.iteritems():
   name = 'Real%d' % size
   Include('Wrappers.h')
   Matrix = TransformationMatrix('osg::' + name)
   rename(Matrix, 'Matrix' + type[0])
   set_policy(Matrix.identity, return_value_policy(copy_const_reference))
   set_wrapper(Matrix.getValues, 'osgwrap::getValuesMatrix<%s>'%type[1])
